package cn.fornever.dbdoc.entity;

import java.util.List;
import java.util.Map;

public class BaseEntity {

    private String basePackage;

    private String currentDate;

    /**
     * 对象名称,首字母大写
     */
    private String baseClassName;

    /**
     * 对象名称,首字母小写
     */
    private String baseInstanceName;

    /**
     * 作者
     */
    private String author;

    private MyTableInfo tab;

    /**
     * 列
     */
    private List<MyColumnInfo> colList;

    /**
     * 查询参数
     */
    private List<MyColumnInfo> qoList;

    /**
     * 主键列
     */
    private List<MyPKInfo> pkList;

    private Map<String,Object> funcs;

    private Map<String,Object> props;

    /**
     * 示例data. 一般为数据库中的一条记录
     */
    private Map<String,Object> sampleData;

    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String getCurrentDate() {
        return currentDate;
    }

    public void setCurrentDate(String currentDate) {
        this.currentDate = currentDate;
    }

    public String getBaseClassName() {
        return baseClassName;
    }

    public void setBaseClassName(String baseClassName) {
        this.baseClassName = baseClassName;
    }

    public String getBaseInstanceName() {
        return baseInstanceName;
    }

    public void setBaseInstanceName(String baseInstanceName) {
        this.baseInstanceName = baseInstanceName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public MyTableInfo getTab() {
        return tab;
    }

    public void setTab(MyTableInfo tab) {
        this.tab = tab;
    }

    public List<MyColumnInfo> getColList() {
        return colList;
    }

    public void setColList(List<MyColumnInfo> colList) {
        this.colList = colList;
    }

    public Map<String, Object> getFuncs() {
        return funcs;
    }

    public void setFuncs(Map<String, Object> funcs) {
        this.funcs = funcs;
    }

    public Map<String, Object> getProps() {
        return props;
    }

    public void setProps(Map<String, Object> props) {
        this.props = props;
    }

    public List<MyPKInfo> getPkList() {
        return pkList;
    }

    public void setPkList(List<MyPKInfo> pkList) {
        this.pkList = pkList;
    }

    public Map<String, Object> getSampleData() {
        return sampleData;
    }

    public void setSampleData(Map<String, Object> sampleData) {
        this.sampleData = sampleData;
    }

    public List<MyColumnInfo> getQoList() {
        return qoList;
    }

    public void setQoList(List<MyColumnInfo> qoList) {
        this.qoList = qoList;
    }

    public BaseEntity() {
    }

    public BaseEntity(MyTableInfo tab, List<MyColumnInfo> colList, List<MyPKInfo> pkList) {
        this.tab = tab;
        this.colList = colList;
        this.pkList = pkList;
    }
}
